# for i in range(1,6):
    
#     for j in range(1,6-i+1):
#         print('*',end='')
#     print()

# print('--------------------')

# for i in range(1,6):
#     for j in range(1,6-i):
#         print(' ',end='')
#     for k in range(1,i*2):
#         print('*',end='')
#     print()

# print('--------------------')

for i in range(1,5):
    for j in range(1,5-i):
        print(' ',end='')
    for k in range(1,i*2):
        print('*',end='')
    print()
for a in range(1,4):
    for b in range(1,a+1):
        print('&',end='')
    for c in range(1,a*2):
        print('*',end='')
    print()